<!DOCTYPE html>
<html>
<head lang='zh'>
    <meta charset='utf-8'>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="renderer" content="webkit"/>
    <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=0"/>
    <title>Luckysheet</title>
    [#assign ctx=rc.contextPath]
    <link rel='stylesheet' href='${ctx}/static/apls/assets/plugins/luckysheet/plugins/css/pluginsCss.css'/>
    <link rel='stylesheet' href='${ctx}/static/apls/assets/plugins/luckysheet/plugins/plugins.css'/>
    <link rel='stylesheet' href='${ctx}/static/apls/assets/plugins/luckysheet/css/luckysheet.css'/>
    <link rel='stylesheet' href='${ctx}/static/apls/assets/plugins/luckysheet/assets/iconfont/iconfont.css'/>
    <script src="${ctx}/static/apls/assets/plugins/luckysheet/plugins/js/plugin.js"></script>
    <!-- rollup luckysheet.js -->
    <script src="${ctx}/static/apls/assets/plugins/luckysheet/luckysheet.umd.js"></script>
</head>

<body>
<div id="luckysheet" style="margin:0px;padding:0px;position:absolute;width:100%;height:100%;left: 0px;top: 0px;"></div>
<script type="text/javascript">
    $(function () {
        //配置项
        var options = {
            container: 'luckysheet', //luckysheet为容器id
            lang: 'zh',
            title: '', // 设定表格名称
            allowEdit: true,
            forceCalculation: false,
        }
        luckysheet.create(options)
    })
</script>
</body>

</html>